#pragma once

#include <QWidget>
#include "networkmanager.h"

QT_BEGIN_NAMESPACE
namespace Ui { class UserUpdateWindow; }
QT_END_NAMESPACE

class UserUpdateWindow : public QWidget
{
    Q_OBJECT

public:
    UserUpdateWindow(QWidget *parent = nullptr);
    ~UserUpdateWindow();

private slots:
    void on_updateButton_clicked();
    void handleUpdateUserResponse(const QJsonObject &response);

    void on_resetButton_clicked();

private:
    Ui::UserUpdateWindow *userupdatewindowUi;
    NetworkManager *networkManager;
};
